const path = require("path");

module.exports = {
  devServer: {
    proxy: {
      "/api": {
        // target: "http://192.168.0.32:8087",
        target: "http://202.102.249.191:84",
        changeOrigin: true,
        pathRewrite: {
          "^/api": "",
        },
      },
    },
  },
  configureWebpack: {
    resolve: {
      alias: {
        "@": path.resolve(__dirname, "src"),
        assets: "@/assets",
      },
    },
  },
};
